/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By 深圳中科鑫智科技有限公司
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.business.controller.kuaidi100.bsamecity;

import com.shop.cereshop.business.service.bsamecity.BsamecityDeliveryTrackingService;
import com.shop.cereshop.commons.constant.CoReturnFormat;
import com.shop.cereshop.commons.result.Result;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * <p>
 * 前端控制器
 * 同城快递配送状态跟踪表
 * </p>
 *
 * @author
 * @date 2025-08-12
 */
@Slf4j
@RestController
@RequestMapping("/bsamecityDeliveryTracking")
@Api(value = "BsamecityDeliveryTracking", tags = "同城快递配送状态跟踪表")
public class BsamecityDeliveryTrackingController {

    @Resource
    private BsamecityDeliveryTrackingService trackingService;

    @PostMapping("/list")
    public Result list(String orderId) {
        return new Result(trackingService.list(orderId), CoReturnFormat.SUCCESS);
    }

}
